<template>
	<view>
		<video :src="data.play_back_url[index].media_url" :autoplay="true" style="width: 750rpx;"></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{},
				index:0
			}
		},
		onLoad(option) {
			if(option.id){
				this.get_data(option.id)
			}
		},
		methods: {
			get_data(id){
				let that=this
				this.$model.get("user/common/getPlaybacks?id="+id).then(res=>{
					if(res.code==200){
						that.data=res.data
					}
				})
			}
		}
	}
</script>

<style>

</style>
